package org.kgc.alanhealth.service.impl;

import org.kgc.alanhealth.entity.HospitalDoctor;
import org.kgc.alanhealth.mapper.HospitalDoctorMapper;
import org.kgc.alanhealth.service.HospitalDoctorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HospitalDoctorServiceImpl implements HospitalDoctorService {
    @Autowired
    private HospitalDoctorMapper hospitalDoctorMapper;

    @Override
    public List<HospitalDoctor> getDoctorByTypeId(Integer id){
        return hospitalDoctorMapper.selectDoctorByTypeId(id);
    }
}
